package com.qianyu.project.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qianyu.project.entity.Budget;
import com.qianyu.project.entity.Directly;
import com.qianyu.project.entity.DirectlyType;
import com.qianyu.project.mapper.DirectlyMapper;
import com.qianyu.project.service.IDirectlyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DirectlyServiceImpl extends ServiceImpl<DirectlyMapper, Directly> implements IDirectlyService {
    @Autowired
    private DirectlyMapper directlyMapper;


    @Override
    public List<Budget> getDirectlyList(Map<String,Object> map) {
        return directlyMapper.getDirectlyList(map);
    }

    @Override
    public void deleteDirectly(String id) {
        directlyMapper.deleteDirectly(id);
    }

    @Override
    public List<DirectlyType> getlist1() {
        return directlyMapper.getlist1();
    }

    @Override
    public List<Budget> getDirectlyList1(Map<String, Object> map) {
        return directlyMapper.getDirectlyList1(map);
    }
}
